PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Control Manager >

Programming With the Mac OS 8.5 Control Manager


GetControl32BitMinimum

Obtains the minimum setting of a control.

pascal SInt32 GetControl32BitMinimum (
                     ControlHandle theControl);
theControl
A value of type ControlHandle . Pass a handle to the control whose minimum setting you wish to obtain.
function result
A signed 32-bit integer equal to the minimum setting of the control.

DISCUSSION

Your application may use the GetControl32BitMinimum function to obtain a 32-bit value previously set with the function SetControl32BitMinimum .


SPECIAL CONSIDERATIONS

If your application uses a 32-bit control minimum value, it should not attempt to obtain this value by calling the pre-Mac OS 8.5 function GetControlMinimum or by accessing the contrlMin field of the ControlRecord structure, because the stored 16-bit value will not accurately reflect the current 32-bit control value.


VERSION NOTES

Available with Mac OS 8.5 and later.


SEE ALSO

"Settings Values for Standard Controls" in Mac OS 8 Control Manager Reference .


© 1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)